81. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2023-03-13 03:00:44 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

81.1 Files compared

#LocationFileLast Modified
1Porto v4.0.4/Porto Theme/app/code/Mageplaza/LayeredNavigation/view/frontend/templatesview.phtml2016-09-27 16:15:52 +0000
2Porto v4.0.5/Porto Theme/app/code/Mageplaza/LayeredNavigation/view/frontend/templatesview.phtml2016-09-27 16:15:52 +0000

81.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged1144
Changed00
Inserted00
Removed00

81.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

81.4 Active regular expressions

No regular expressions were active.

81.5 Comparison detail

1 <?php if ($block->canShowBlock()): ?> 1 <?php if ($block->canShowBlock()): ?>
2     <div class="block filter" id="layered-filter-block" data-mage-init='{"collapsible":{"openedState": "active", "collapsible": true, "active": false, "collateral": { "openedState": "filter-active", "element": "body" } }}'> 2     <div class="block filter" id="layered-filter-block" data-mage-init='{"collapsible":{"openedState": "active", "collapsible": true, "active": false, "collateral": { "openedState": "filter-active", "element": "body" } }}'>
3         <?php $filtered = count($block->getLayer()->getState()->getFilters()) ?> 3         <?php $filtered = count($block->getLayer()->getState()->getFilters()) ?>
4         <div class="block-title filter-title" data-count="<?php /* @escapeNotVerified */ echo $filtered; ?>"> 4         <div class="block-title filter-title" data-count="<?php /* @escapeNotVerified */ echo $filtered; ?>">
5             <strong data-role="title"><?php /* @escapeNotVerified */ echo __('Shop By') ?></strong> 5             <strong data-role="title"><?php /* @escapeNotVerified */ echo __('Shop By') ?></strong>
6         </div> 6         </div>
7         <div class="block-content filter-content"> 7         <div class="block-content filter-content">
8             <?php echo $block->getChildHtml('state') ?> 8             <?php echo $block->getChildHtml('state') ?>
9  9 
10             <?php if ($block->getLayer()->getState()->getFilters()): ?> 10             <?php if ($block->getLayer()->getState()->getFilters()): ?>
11                 <div class="block-actions filter-actions"> 11                 <div class="block-actions filter-actions">
12                     <a href="<?php /* @escapeNotVerified */ echo $block->getClearUrl() ?>" class="action clear filter-clear"><span><?php /* @escapeNotVerified */ echo __('Clear All') ?></span></a> 12                     <a href="<?php /* @escapeNotVerified */ echo $block->getClearUrl() ?>" class="action clear filter-clear"><span><?php /* @escapeNotVerified */ echo __('Clear All') ?></span></a>
13                 </div> 13                 </div>
14             <?php endif; ?> 14             <?php endif; ?>
15             <?php $wrapOptions = false; $activeKey = 0; $activeArray = []; ?> 15             <?php $wrapOptions = false; $activeKey = 0; $activeArray = []; ?>
16             <?php foreach ($block->getFilters() as $key => $filter): ?> 16             <?php foreach ($block->getFilters() as $key => $filter): ?>
17                 <?php if ($filter->getItemsCount()): ?> 17                 <?php if ($filter->getItemsCount()): ?>
18                     <?php if (!$wrapOptions): ?> 18                     <?php if (!$wrapOptions): ?>
19                         <strong role="heading" aria-level="2" class="block-subtitle filter-subtitle"><?php /* @escapeNotVerified */ echo __('Shopping Options') ?></strong> 19                         <strong role="heading" aria-level="2" class="block-subtitle filter-subtitle"><?php /* @escapeNotVerified */ echo __('Shopping Options') ?></strong>
20                         <div class="filter-options" id="narrow-by-list" data-role="content"> 20                         <div class="filter-options" id="narrow-by-list" data-role="content">
21                     <?php  $wrapOptions = true; endif; ?> 21                     <?php  $wrapOptions = true; endif; ?>
22                     <div data-role="collapsible" class="filter-options-item"> 22                     <div data-role="collapsible" class="filter-options-item">
23                         <div data-role="title" class="filter-options-title"><?php /* @escapeNotVerified */ echo __($filter->getName()) ?></div> 23                         <div data-role="title" class="filter-options-title"><?php /* @escapeNotVerified */ echo __($filter->getName()) ?></div>
24                         <div data-role="content" class="filter-options-content"><?php /* @escapeNotVerified */ echo $block->getChildBlock('renderer')->render($filter); ?></div> 24                         <div data-role="content" class="filter-options-content"><?php /* @escapeNotVerified */ echo $block->getChildBlock('renderer')->render($filter); ?></div>
25                     </div> 25                     </div>
26                     <?php 26                     <?php
27                         if($block->getRequest()->getParam($filter->getRequestVar())){ 27                         if($block->getRequest()->getParam($filter->getRequestVar())){
28                             $activeArray[] = $activeKey; 28                             $activeArray[] = $activeKey;
29                         } 29                         }
30                         $activeKey++; 30                         $activeKey++;
31                     ?> 31                     ?>
32                 <?php endif; ?> 32                 <?php endif; ?>
33             <?php endforeach; ?> 33             <?php endforeach; ?>
34             <?php if ($wrapOptions): ?> 34             <?php if ($wrapOptions): ?>
35                 </div> 35                 </div>
36 »       »       »       »       <script type="text/x-magento-init"> 36 »       »       »       »       <script type="text/x-magento-init">
37 »       »       »       »       »       { 37 »       »       »       »       »       {
38 »       »       »       »       »       »       "#narrow-by-list": { 38 »       »       »       »       »       »       "#narrow-by-list": {
39 »       »       »       »       »       »       »       "accordion": { 39 »       »       »       »       »       »       »       "accordion": {
40 »       »       »       »       »       »       »       »       "openedState": "active", 40 »       »       »       »       »       »       »       »       "openedState": "active",
41 »       »       »       »       »       »       »       »       "collapsible": true, 41 »       »       »       »       »       »       »       »       "collapsible": true,
42 »       »       »       »       »       »       »       »       "active": <?php echo sizeof($activeArray) ? $this->helper('Magento\Framework\Json\Helper\Data')->jsonEncode($activeArray) : 'false' ?>, 42 »       »       »       »       »       »       »       »       "active": <?php echo sizeof($activeArray) ? $this->helper('Magento\Framework\Json\Helper\Data')->jsonEncode($activeArray) : 'false' ?>,
43 »       »       »       »       »       »       »       »       "multipleCollapsible": true 43 »       »       »       »       »       »       »       »       "multipleCollapsible": true
44 »       »       »       »       »       »       »       }, 44 »       »       »       »       »       »       »       },
45 »       »       »       »       »       »       »       "Mageplaza_LayeredNavigation/js/layer": {} 45 »       »       »       »       »       »       »       "Mageplaza_LayeredNavigation/js/layer": {}
46 »       »       »       »       »       »       } 46 »       »       »       »       »       »       }
47 »       »       »       »       »       } 47 »       »       »       »       »       }
48 »       »       »       »       </script> 48 »       »       »       »       </script>
49             <?php endif; ?> 49             <?php endif; ?>
50             <div id="ln_overlay" class="ln_overlay"> 50             <div id="ln_overlay" class="ln_overlay">
51                 <img src="<?php /* @escapeNotVerified */ echo $block->getViewFileUrl('images/loader-1.gif'); ?>" alt="Loading..."> 51                 <img src="<?php /* @escapeNotVerified */ echo $block->getViewFileUrl('images/loader-1.gif'); ?>" alt="Loading...">
52             </div> 52             </div>
53         </div> 53         </div>
54     </div> 54     </div>
55 <?php endif; ?> 55 <?php endif; ?>
56 <style type="text/css"> 56 <style type="text/css">
57     .ln_overlay{ 57     .ln_overlay{
58         background-color: #FFFFFF; 58         background-color: #FFFFFF;
59         height: 100%; 59         height: 100%;
60         left: 0; 60         left: 0;
61         opacity: 0.5; 61         opacity: 0.5;
62         filter: alpha(opacity = 50); 62         filter: alpha(opacity = 50);
63         position: absolute; 63         position: absolute;
64         top: 0; 64         top: 0;
65         width: 100%; 65         width: 100%;
66         z-index: 555; 66         z-index: 555;
67         display:none; 67         display:none;
68     } 68     }
69     .ln_overlay img { 69     .ln_overlay img {
70         top: 30%;left: 45%;display: block;position: absolute; 70         top: 30%;left: 45%;display: block;position: absolute;
71     } 71     }
72 </style> 72 </style>